﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/ControlPanel.Master" AutoEventWireup="true" CodeBehind="UploadPictures.aspx.cs" Inherits="intecnologia.Admin.UploadPictures" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <div style="text-align: center;"> 
        <br />
        <h2>Imágenes</h2>        
    
        <asp:ScriptManager runat="server" EnablePartialRendering="true" EnableScriptGlobalization="true" 
            EnableScriptLocalization="true" ID="AjaxScriptManager" />
        <cc1:TextBoxWatermarkExtender TargetControlID="tbDescription" EnableViewState="false" runat="server" 
            WatermarkText="Descripción de la imagen..." ID="ShadowImageName">
        </cc1:TextBoxWatermarkExtender>
        
        <asp:Label ID="lblError" runat="server" ForeColor="Red" Font-Size="Medium" Font-Bold="true" />
        <br />
        <br />
        
        <table style="text-align: left;">
            <tr>
                <td><span class="bold_header" style="font-size: 1.3em">Introduzca la imágen:</span></td>
                <td><asp:FileUpload ID="fuPictureUpload" runat="server" Font-Bold="true" 
                        Width="243px" /></td>
            </tr>
            <tr>
                <td><span class="bold_header" style="font-size: 1.3em">Categoría:</span></td>
                <td>
                    <asp:DropDownList ID="ddlPictureCategory" runat="server" Width="243px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>        
                <td><span class="bold_header" style="font-size: 1.3em">Descripción:</span></td>
                <td><asp:TextBox runat="server" ID="tbDescription" MaxLength="60" 
                        EnableViewState="false" TextMode="SingleLine" Width="243px" /></td>
            </tr>
        </table>
        
        <br />
        
        <asp:Button ID="btnUpload" runat="server" Text="Subir imagen" CssClass="boton" 
            onclick="btnUpload_Click" />        
        
    </div>

</asp:Content>
